[Implemented] DatabaseQuery Id

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

[Implemented] DatabaseQuery Id

Post by BackupUser »

Restored from previous forum. Originally posted by Bernard.

I whish use 2 or more DatabaseQuery at the same time and I think it is'nt possible actually.

I think if you could add an ID to the DatabaseQuery we can do something like that as we do Opendatabase :

strSQL="Select name from table"
If DatabaseQuery(0,strSQL)

While NextDatabaseRow(0)

strSQL2 = "Select * From Table2 where name = '" + GetDatabaseString(0)

If DatabaseQuery(1,strSQL)
While NextDatabaseRow(1)

Code: Select all

Wend
EndIf

Wend

EndIf

If it's possible now thanks for your précisions




BDu
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Ok, thanks for the suggestion.

Fred - AlphaSND
Post Reply