Tip Bank

DevX

Understanding Memory Pages and Page Alignment

System memory is divided into units that are called “pages”. A page consists of 4,096 bytes (4K) on Intel architectures, and on Alpha systems it consists of 8,192 bytes (8K).

DevX

Creating a Schedule Timetable

Question: I have a table with five columns. They are “No. of People,” “Tour1,” Tour2,” “Tour3,” and “Tour4.” I want to set up a query that shows me how many

DevX

Removing a Duplicated Item

Question: I have tried the following code: SELECT distinct title, id from table where …..order by title and it returns: A 001A 002B 003 The result I want is: A

DevX

Retrieving the Greatest Value from a Group

Question: I have a table like this one: Day_Period_Money (daydate date, period number, amount number); Here is an example of some data: daydate period amount01/01/99 1 1001/01/99 2 2001/01/99 3

DevX

Converting from Varchar to Number

Question: I have a table that contains numbers defined as varchar. How do I convert from varchar to number? Answer: Try using the CONVERT function. If that is not an

DevX

Determine if a Form is Open

Question: I have this real cool function to determine if a Form is Open which works fine in Access 97, but not in VB 6.0 because it does not support