![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello everyone. I'm trying to interface my program in Visual Object so native postgreSQL through Libpq.dll. I have a problem with the dll in question, namely: if I have a field of table type varchar (30), how do I know the actual length of the field? The function PQgetlenght me back the length of the string contained in the field and not the maximum size of the field if field = 'Campanella' me back 10 and not 30. other problem with the numeric. A field declared numeric (10.2), how do I know the length and number of decimal places? What role should I use? |
#3
| |||
| |||
|
|
Hello everyone. I'm trying to interface my program in Visual Object so native postgreSQL through Libpq.dll. I have a problem with the dll in question, namely: if I have a field of table type varchar (30), how do I know the actual length of the field? The function PQgetlenght me back the length of the string contained in the field and not the maximum size of the field if field = 'Campanella' me back 10 and not 30. other problem with the numeric. A field declared numeric (10.2), how do I know the length and number of decimal places? What role should I use? |
#4
| |||
| |||
|
|
Hello everyone. I'm trying to interface my program in Visual Object so native postgreSQL through Libpq.dll. I have a problem with the dll in question, namely: if I have a field of table type varchar (30), how do I know the actual length of the field? The function PQgetlenght me back the length of the string contained in the field and not the maximum size of the field if field = 'Campanella' me back 10 and not 30. other problem with the numeric. A field declared numeric (10.2), how do I know the length and number of decimal places? What role should I use? |
#5
| |||
| |||
|
|
Hello everyone. I'm trying to interface my program in Visual Object so native postgreSQL through Libpq.dll. I have a problem with the dll in question, namely: if I have a field of table type varchar (30), how do I know the actual length of the field? The function PQgetlenght me back the length of the string contained in the field and not the maximum size of the field if field = 'Campanella' me back 10 and not 30. other problem with the numeric. A field declared numeric (10.2), how do I know the length and number of decimal places? What role should I use? |
#6
| |||
| |||
|
|
Hello everyone. I'm trying to interface my program in Visual Object so native postgreSQL through Libpq.dll. I have a problem with the dll in question, namely: if I have a field of table type varchar (30), how do I know the actual length of the field? The function PQgetlenght me back the length of the string contained in the field and not the maximum size of the field if field = 'Campanella' me back 10 and not 30. other problem with the numeric. A field declared numeric (10.2), how do I know the length and number of decimal places? What role should I use? |
#7
| |||
| |||
|
|
Hello everyone. I'm trying to interface my program in Visual Object so native postgreSQL through Libpq.dll. I have a problem with the dll in question, namely: if I have a field of table type varchar (30), how do I know the actual length of the field? The function PQgetlenght me back the length of the string contained in the field and not the maximum size of the field if field = 'Campanella' me back 10 and not 30. other problem with the numeric. A field declared numeric (10.2), how do I know the length and number of decimal places? What role should I use? |
#8
| |||
| |||
|
|
Hello everyone. I'm trying to interface my program in Visual Object so native postgreSQL through Libpq.dll. I have a problem with the dll in question, namely: if I have a field of table type varchar (30), how do I know the actual length of the field? The function PQgetlenght me back the length of the string contained in the field and not the maximum size of the field if field = 'Campanella' me back 10 and not 30. other problem with the numeric. A field declared numeric (10.2), how do I know the length and number of decimal places? What role should I use? |
#9
| |||
| |||
|
|
Hello everyone. I'm trying to interface my program in Visual Object so native postgreSQL through Libpq.dll. I have a problem with the dll in question, namely: if I have a field of table type varchar (30), how do I know the actual length of the field? The function PQgetlenght me back the length of the string contained in the field and not the maximum size of the field if field = 'Campanella' me back 10 and not 30. other problem with the numeric. A field declared numeric (10.2), how do I know the length and number of decimal places? What role should I use? |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |