-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot handle datatype I #89
Comments
Can you provide file and code example? |
Getting all fields for the table first. Then assigning them values. $tableA = get('C:\\pcmrpw\\' . $saleTable);
$allColumns = $tableA->getColumns();
foreach ($allColumns as $key => $column) {
$allColumns[$key] = isset($_POST[$key]) ? $_POST[$key] : '';
}
$tableB = add('C:\\pcmrpw\\' . $saleTable);
$tableB->openWrite();
$newRecord = $tableB->appendRecord();
foreach ($allColumns as $key => $column) {
$newRecord->{$key} = isset($_POST[$key]) ? $_POST[$key] : '';
}
$tableB->writeRecord();
$tableB->pack();
$tableB->close();
unset($newRecord); |
@imidimi I'll fix it asap |
fixen in 2267452 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For all the data types its working fine, but as soon
I
data type comes in any table it gives this error. Can you please review it?The text was updated successfully, but these errors were encountered: