First time here? Check out the FAQ!
x

Selecting an item from a table.

0 votes
asked by about wwGenericSQLGrid
edited by

How can I select an item from a table using the wwGenericSQLGrid?

1 Answer

0 votes
answered by (132k points)

If wwGenericSQLGrid is installed and configured correctly within the InTouch ActiveX container, open an InTouch quickscript and type the following code:

#Grid1.Server = Server;
#Grid1.Database = Database;
#Grid1.UserID = UserID;
#Grid1.Password = Password;
#Grid1.Connect();

This will allow you to connect to the database. After that, if you want to get a specific value/item from a cell, type:

Selection = #Grid1.GetRowColumnValue( Row, Column);

In order to get the selected value/item, you will need to enter:

Selection = #Grid1.GetSelectedCellValue();

You can find further information if you open the wwGenericSQLGrid.mht file that comes packaged with the wwGenericSQLGrid software. If you don't have the software, you can download it from the official web page. Also, you will need to create an account.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...