General information
Title:
Forcar criação de cursor sem registros
Olá,
Quando tento criar um cursor através do comando SQLEXEC(nConect,'Select * from MinhaTabela','MeuCursor'), este só é criado se meu select retornar algum registro. Into pode me trazer problemas, pois meu formulário faz referências a este cursor. Este cursor precisa ser criado mesmo sem registros, caso contrário, quando referência-lo, ocorrerá erro do tipo cursor not found. Existe um meio de formar o vfp a criar este cursor mesmo quando a tabela estiver vazia em meu banco de dados?
Obrigado.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only