M
Mike Fechner
Guest
Why not just CREATE BUFFER hBuffer FOR TABLE "sports2000.Customer" and handle the error accordingly, when the table is not available? Sent from Nine Von: Fernando Souza Gesendet: 01.03.2017 1:27 nachm. An: TU.OE.Development@community.progress.com Betreff: RE: [Technical Users - OE Development] How to check if a given table name is in a connected database? Update from Progress Community Fernando Souza You would need to use the CREATE ALIAS statement to set the alias to each db, one at a time. You can loop through the connected db's using the NUM-DBS function, and use the LDBNAME() function to get the logical db name for each db and create the alias, before you run the code above. You can delete the alias when done with DELETE ALIAS. If you want to do this dynamically, then you don't need the CREATE ALIAS, and then use CREATE BUFFER to create a buffer on the table for each logical db using LDBNAME() as well. View online You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here . Flag this post as spam/abuse.
Continue reading...
Continue reading...